#!/bin/sh

echo "Step 1 install tweak"
sudo apt install -y software-properties-common
sudo add-apt-repository ppa:philip.scott/pantheon-tweaks
sudo apt update
sudo apt install -y pantheon-tweaks

echo "Step 2 install gdebi"
sudo apt install -y gdebi

echo "Step 3 install multimedia codecs"
sudo apt install -y ubuntu-restricted-extras libavcodec-extra libdvd-pkg
sudo dpkg-reconfigure libdvd-pkg


echo "Step 4 install Required Drivers"
# sudo ubuntu-drivers autoinstall

echo "Step 5 Disable Grub Delay"
echo "cat /etc/default/grub |grep GRUB_TIMEOUT; sudo update-grub"
cat /etc/default/grub|grep GRUB_TIMEOUT


echo "Step 6 Extend Your Laptop Battery Life"
sudo add-apt-repository ppa:linrunner/tlp
sudo apt-get update
sudo apt-get install tlp tlp-rdw
sudo tlp start

echo "Step 7 Synaptic package manager"
sudo apt install synaptic -y


echo "step 8 install chrome,snapd, quickemu, gparted, sejda-desktop(pdf), vlc"
sudo apt install -y google-chrome-stable snapd gparted quickemu sejda-desktop vlc


echo "step 9 install dev lib,tool"
sudo apt install -y git build-essential code

echo "step10 install kernel manager tool"
sudo add-apt-repository ppa:danielrichter2007/grub-customizer
sudo apt update
sudo apt install grub-customizer


echo "step last clean system"
sudo apt-get autoremove
# sudo apt update
# sudo apt upgrade
# sudo apt dist-upgrade
sudo apt autoremove
sudo apt autoclean
# flatpak update